#ifndef OPENFILEBUTTON_H
#define OPENFILEBUTTON_H
#include <QObject>

#include <QLineEdit>
#include <QToolButton>
	
class OpenFileButton: public QObject
{
		Q_OBJECT
		QLineEdit *_edit;
		QString _filter;
	public:
		OpenFileButton(QToolButton *button,QLineEdit *edit,const QString &filter="");
	private slots:
		void showFileDialog();
};


#endif
